package com.eCommercecorecontract.svco;

import java.util.List;
import java.util.Set;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;
import javax.jws.soap.SOAPBinding.Use;


import com.eCommerce.corecontract.criteria.ComposantCriteria;
import com.eCommerce.corecontract.dto.CategorieDTO;
import com.eCommerce.corecontract.dto.ComposantDTO;
import com.eCommerce.corecontract.exception.EcommerceException;
@WebService
public interface IComposantSVCO extends IServiceComposed {
	@WebMethod
	Long ajouterComposant(ComposantDTO composantDTO) throws EcommerceException;
	@WebMethod
	List listerComposants() throws EcommerceException;
	@WebMethod
	void modifierComposant(ComposantDTO composantDTO) throws EcommerceException;
	@WebMethod
	List rechercherComposants(ComposantCriteria composantCriteria)
			throws EcommerceException;
	@WebMethod
	void supprimerComposants(Set<ComposantDTO> composantDTO)
			throws EcommerceException;
	@WebMethod
	ComposantDTO visualiserComposant(ComposantDTO composantDTO)
			throws EcommerceException;
	@WebMethod
	List rechercherComposantParCategorie(CategorieDTO categorieDTO)
	throws EcommerceException;
}
